<?php
namespace PsiFramework\Applications\DefaultApp\Classes\Model;

import("Classes.Model.PolymorphicObject");

use \PsiFramework\Classes\Model\PolymorphicObject;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The City class describes the information for a text
 *
 * @package Model
 */
class Text extends PolymorphicObject
{

    protected /*string*/ $_key ;

    /**
     * Getter for id
     *
     * @return string    the id
     */
    public function getId()
    {
        return $this->_key ;
    }

    /**
     * Getter for key
     *
     * @return string    the key
     */
    public function getKey()
    {
        return $this->_key ;
    }

    /**
     * Setter for key
     */
    public function setKey(/*string*/ $key)
    {
        $this->_key = $key ;
    }

    /**
     * The toString function
     *
     * @return string
     */
    public function toString()
    {
        return $this->_key ;
    }
}
